﻿using Domain.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repositorys
{
    public interface ISSDDRepositoy
    {
        /// <summary>
        /// 分页查询薪酬标准单详细信息表
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        Task<List<SSD>> SSDselectAsync(int pageIndex, int pageSize);
        /// <summary>
        /// 总页数
        /// </summary>
        /// <returns></returns>
        int SSDSelectCount();
        /// <summary>
        /// 查询薪酬标准单详细信息删除
        /// </summary>
        /// <param name="sSD"></param>
        /// <returns></returns>
        Task<int> SSDdelectAsync(SSD sSD);
        /// <summary>
        ///  查询薪酬标准单详细信息添加
        /// </summary>
        /// <param name="sSD"></param>
        /// <returns></returns>
        Task <int> SSDAddAsync(List<SSD> sSDs);

        /// <summary>
        /// 查询全部薪酬标准数据
        /// </summary>
        /// <returns></returns>
        Task<List<SSD>> SSDFileAsync();

        /// <summary>
        /// 根据薪酬编号查询数据
        /// </summary>
        /// <returns></returns>
        Task<List<SSD>> SSDSelectBySid(string sid);

        /// <summary>
        /// 修改薪酬标准数据
        /// </summary>
        /// <returns></returns>
        Task<int> SSDUpdateAsync(List<SSD> sSDs);
    }
}
